/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 新就业人群总数 POST /new/user/countData */
export async function openApiNewUserCountDataUsingPost({
  options,
}: {
  options?: { [key: string]: unknown };
}) {
  return request<API.RLong>('/new/user/countData', {
    method: 'POST',
    ...(options || {}),
  });
}

/** 获取 POST /new/user/getData */
export async function openApiNewUserGetDataUsingPost({
  body,
  options,
}: {
  body: API.NewUserBoNewUserGetData;
  options?: { [key: string]: unknown };
}) {
  return request<API.RNewUserVo>('/new/user/getData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 分页查询 POST /new/user/pageData */
export async function openApiNewUserPageDataUsingPost({
  body,
  options,
}: {
  body: API.NewUserBoNewUserPageData;
  options?: { [key: string]: unknown };
}) {
  return request<API.RPageDataVoNewUserVo>('/new/user/pageData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
